package apiday01.homework.string;

public class TrimDemo {
    public static void main(String[] args) {
        String str = "\n hello hello\n";
        System.out.println(str);
        String trim = str.trim();
        System.out.println(trim);
        System.out.println(str.trim());

    }
}
